<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/mytags.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<%@ include file="/common/bootstrap.jsp"%>
</head>

<body>
<ul class="nav nav-tabs">
	<li><a href="${ctx}//adminManage/auto/autoDbTable/list.do">表单配置列表</a></li>
	<li class="active"><a href="${ctx}//adminManage/auto/autoDbTable/create.do">表单配置添加</a></li>
</ul>
<div class="container">
	<form:form action="/adminManage/auto/autoDbTable/show.do" method="post" class="form-horizontal" role="form">
			<div class="form-group">
				<label class="col-sm-2 control-label">主键</label>
				<div class="col-sm-10">
					${autoDbTable.id}
				</div>		
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">表名称</label>
				<div class="col-sm-10">
					${autoDbTable.tableName}
				</div>		
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">表描述</label>
				<div class="col-sm-10">
					${autoDbTable.tableComments}
				</div>		
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">主键类型(uuid，自增，seq)</label>
				<div class="col-sm-10">
					${autoDbTable.tablePkType}
				</div>		
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">序号名称(type为seq时，使用的序列名称)</label>
				<div class="col-sm-10">
					${autoDbTable.tablePkValue}
				</div>		
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">显示复选框</label>
				<div class="col-sm-10">
					${autoDbTable.isCheckbox}
				</div>		
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">是否树</label>
				<div class="col-sm-10">
					${autoDbTable.isTree}
				</div>		
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">是否分页</label>
				<div class="col-sm-10">
					${autoDbTable.isPage}
				</div>		
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">数据库编号(对应auto_db表的id)</label>
				<div class="col-sm-10">
					${autoDbTable.dbId}
				</div>		
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">数据库分类编号(对应auto_db_class表的id)</label>
				<div class="col-sm-10">
					${autoDbTable.dbClassId}
				</div>		
			</div>
		<div class="form-group">
    		<div class="col-sm-offset-2 col-sm-10">
				<button type="submit" class="btn btn-success">保 存</button>
				<button type="button" class="btn btn-default" onclick="history.go(-1)">返 回</button>
			</div>
		</div>	
	</form:form>
</div>	
</body>
</html>
